#ifndef SQLCONSOLE_H
#define SQLCONSOLE_H

#include <QtGui/QDialog>
#include <QtSql>

namespace Ui {
    class SqlConsole;
}

class SqlConsole : public QDialog {
    Q_OBJECT
public:
    explicit SqlConsole(QWidget *parent = 0);
    virtual ~SqlConsole();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::SqlConsole *m_ui;
    QSqlQueryModel *model;

private slots:
    void on_pbLoadFile_clicked();
    void on_pbExecute_clicked();
};

#endif // SQLCONSOLE_H
